home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
cpp_libs
/
answrbok
/
3_7.lha
/
3_7
/
3_7abtst.c
< prev
next >
Wrap
Text File
|
1993-08-08
|
479b
|
28 lines
* Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */
* The C++ Answer Book */
* Tony Hansen */
* All rights reserved. */
include <stream.h>
ifdef TSTA
include "3_7a.c"
endif
ifdef TSTB
include "3_7b.c"
endif
har *x[] =
{
"hello there",
"",
"This is a test",
"The quick brown fox jumped over the lazy brown dog",
0
};
ain()
for (char **xp = x; *xp; xp++)
cout << "str='" << *xp << "', len=" << strlen(*xp) << "\n";
return 0;